package lumis.portal.serialization;

/**
 * Represent a dependency between two objects that must be resolved before deserialization
 *
 * @version $Revision: 5272 $ $Date: 2006-12-07 19:38:24 -0200 (Thu, 07 Dec 2006) $
 * @since 4.0.7
 */
public class Dependency
{
	private SerializationMessageConfigNode dependentNode;
	private SerializationMessageConfigNode dependableNode;
	private boolean causeWarning = true;
	public SerializationMessageConfigNode getDependableNode()
	{
		return dependableNode;
	}
	public void setDependableNode(SerializationMessageConfigNode dependableElement)
	{
		this.dependableNode = dependableElement;
	}
	public SerializationMessageConfigNode getDependentNode()
	{
		return dependentNode;
	}
	public void setDependentNode(SerializationMessageConfigNode dependentElement)
	{
		this.dependentNode = dependentElement;
	}
	public boolean isCauseWarning()
	{
		return causeWarning;
	}
	public void setCauseWarning(boolean causeWarning)
	{
		this.causeWarning = causeWarning;
	}
}
